home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 3 / Cream of the Crop 3.iso / comm / ezquote3.zip / CONFIG.EZQ next >
Text File  |  1994-04-15  |  17KB  |  554 lines

  1.  
  2.                                CONFIG.EZQ  3.0
  3.  
  4.                           Copyright 1994  George Hug                      
  5.  
  6.  
  7. This is a text file which you may edit. The configuration program EZQCFG will
  8. look for certain headers, such as ":MACROS", which indicate the beginning
  9. or end of specific configuration sections.  Anything outside those sections,
  10. such as this paragraph, will be ignored, as will any line inside those
  11. sections which begins with a semicolon.
  12.  
  13. Syntax error messages are normally printed to the screen but may be sent to
  14. a file or your printer by including >PRN or >[filename] redirection in
  15. EZQCFG.COM's command line.  Where applicable, the error message will include
  16. the line number of the offending line to help you locate it more easily.
  17.  
  18. If you change the configuration frequently, it may be helpful to use a
  19. condensed version of this file - one with all the explanations removed.
  20. You may also put the sections in a different order if you prefer.
  21.  
  22.  
  23. This file contains the following sections:
  24.  
  25.       * Miscellaneous Settings            Colors, margins, etc.
  26.       * Signature                         Define your signature
  27.       * Keynames                          Keyname reference list
  28.       * Function/Keyname Assignments      Assign keynames to functions
  29.       * Macros                            Define macros
  30.       * Bottom Line Prompts               Define prompt lines
  31.       * Help Screens                      Define help screens
  32.  
  33.  
  34.  
  35.  
  36.                            Miscellaneous Settings
  37.                            **********************
  38.  
  39.  
  40. :MISCL
  41.  
  42.  
  43. ;Command-line file will be loaded into <Q>uote Mode or <E>dit Mode.
  44.  
  45. Bootmode      Q
  46.  
  47.  
  48. ;Colors for main text display (normal) and for marked block (inverse).
  49.  
  50. ; Bkgnd color can be 0 - 7.
  51. ; Char color  can be 0 - 15.
  52.  
  53. ; 0=black 1=blue  2=green  3=cyan  4=red  5=purple  6=brown   7=white
  54. ; 8=gray  9=BLUE 10=GREEN 11=CYAN 12=RED 13=PURPLE 14=YELLOW 15=WHITE
  55.  
  56. Normalbkgnd   7
  57. Normalchar    1
  58.  
  59. Inversebkgnd  1
  60. Inversechar  14
  61.  
  62.  
  63. ;Snow removal for CGA displays ON or OFF.
  64.  
  65. Snowremove   off
  66.  
  67.  
  68. ;Right margin for WonderWrap.
  69. ;Default right margin for Edit Mode word wrap.
  70.  
  71. Wondermarg   66
  72. Editmarg     68
  73.  
  74.  
  75. ;Tab stop spacing. Max is 16.
  76.  
  77. Tabstop       8
  78.  
  79.  
  80. ;Auto-XFER to Edit Mode on boot if Bootmode = Q. Begin on this line. 0 = none.
  81.  
  82. Autostart     0
  83.  
  84.  
  85. ;Auto-XFER this many consecutive lines if autostart > 0.
  86.  
  87. Autolines     0
  88.  
  89.  
  90. ;Intelligent quoting ON or OFF.
  91.  
  92. Intelquote    on
  93.  
  94.  
  95. ;Save Edit Mode soft-formatted sections in <H>ard or <S>oft format.
  96.  
  97. Savemode      H
  98.  
  99.  
  100. ;Mouse sensitivity, horizontal and vertical:
  101. ;  First = # mickeys to make first cursor move along an axis.
  102. ;  Next  = # mickeys to make additional moves along same axis.
  103.  
  104. HFirst        16
  105. HNext         12
  106.  
  107. VFirst        32
  108. VNext         24
  109.  
  110.  
  111. ;Filename used by EZQuote to save itself when shelling to DOS.
  112. ;Use standard [drive:][\path\]name.ext format, with .ext = .000
  113.  
  114. Tempfile      ezqtemp.000
  115.  
  116.  
  117. :MISCL_END
  118.  
  119.  
  120.                                  Signature
  121.                                  *********
  122.  
  123. Your signature block will be copied verbatim into your message. Tabs will
  124. not be expanded.
  125.  
  126. :SIGNATURE
  127. Bullwinkle J. Moose
  128. :SIG_END
  129.  
  130.  
  131.  
  132.                                  Keynames
  133.                                  ********
  134.  
  135. The following are all of the keynames which the configuration program will
  136. recognize.  They are shown for reference purposes only - you cannot change
  137. them.  A keyname which is not listed below does not exist. Ten-key keypad
  138. names are k1, k2, etc.  Key45 refers to the extra key between the left Shift
  139. and Z keys on the 102-key keyboard.  The name "startkey" is a phantom
  140. keyname which can be assigned to invoke a startup macro.
  141.  
  142.  
  143.                    # = Shift     ^ = Control      @ = Alt
  144.  
  145.  
  146.  a  b  c  d  e  f  g  h  i  j  k  l  m  n  o  p  q  r  s  t  u  v  w  x  y  z
  147.  A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z
  148. ^a ^b ^c ^d ^e ^f ^g ^h ^i ^j ^k ^l ^m ^n ^o ^p ^q ^r ^s ^t ^u ^v ^w ^x ^y ^z
  149. @a @b @c @d @e @f @g @h @i @j @k @l @m @n @o @p @q @r @s @t @u @v @w @x @y @z
  150.  
  151.  1  2  3  4  5  6  7  8  9  0     `   -   =   \   [   ]   ;   '   ,   .   /
  152.    ^2          ^6                    ^-      ^\  ^[  ^]
  153. @1 @2 @3 @4 @5 @6 @7 @8 @9 @0        @-  @=
  154.  
  155.  ~  !  @  #  $  %  ^  &  *  (  )  _  +  |  {  }  :  "  <  >  ?
  156.  
  157.  f1   f2   f3   f4   f5   f6   f7   f8   f9   f10
  158. #f1  #f2  #f3  #f4  #f5  #f6  #f7  #f8  #f9  #f10
  159. ^f1  ^f2  ^f3  ^f4  ^f5  ^f6  ^f7  ^f8  ^f9  ^f10
  160. @f1  @f2  @f3  @f4  @f5  @f6  @f7  @f8  @f9  @f10
  161.  
  162. esc up down  left  right insert delete  home  end  pageup  pagedown  backspace
  163.             ^left ^right               ^home ^end ^pageup ^pagedown ^backspace
  164.  
  165. k1 k2 k3 k4 k5 k6 k7 k8 k9 k0 k. k+ k- k*  key45  startkey
  166.                                           #key45
  167.  enter   tab  space
  168. ^enter  #tab
  169.  
  170.  
  171.  
  172.  
  173.                      Function/Keyname Assignments
  174.                      ****************************
  175.  
  176. After each function name shown in the left column below, enter at least one
  177. space or tab, then the keyname assigned to that function.  If the assignment
  178. is a WordStar-type two-keyname combination, the first and second keynames
  179. should be separated by one space.
  180.  
  181. A function can have multiple keyname assignments, each of which must be on its
  182. own line.  Here's an example:
  183.  
  184. Load        @f7
  185. Load        ^k r
  186. Load        ^k ^r
  187.  
  188. Functions need not be entered in any particular order.
  189.  
  190.  
  191.  
  192. :FUNCTIONS
  193.  
  194.  
  195. ;Function         Keyname
  196. ;--------         -------
  197.  
  198. ;Cursor keys, etc.
  199.  
  200. Up                up
  201. Down              down
  202. Left              left
  203. Right             right
  204. Pageup            pageup
  205. Pagedown          pagedown
  206. Wordleft         ^left
  207. Wordright        ^right
  208. Delchar           delete
  209. Backspace         backspace
  210. Inserttog         insert
  211. Begline           home
  212. Endline           end
  213. Begfile          ^pageup
  214. Endfile          ^pagedown
  215. Scrnleft         ^[
  216. Scrnright        ^]
  217.  
  218. ;Common Mode Functions
  219.  
  220. Modetog           esc
  221. Abort             f1
  222. Wonderwrap        f3
  223. Marktog           f4
  224. Cut               f5
  225. Paste             f6
  226. Exit              f7
  227. Deleol            f8
  228. Delline           f9
  229. Undel             f10
  230. Save             @f1
  231. Quote            @f2
  232. Undowrap         @f3
  233. Dcmd             @f4
  234. Delblock         @f5
  235. Dir              @f6
  236. Load             @f7
  237. Reload           @f8
  238. Search           @f9
  239. Help             @f10
  240.  
  241. ;Edit Mode only
  242.  
  243. ReformatE         f2
  244. SoftfmtE         ^f2
  245. RightmargE       ^f3
  246. SignatureE       ^f6
  247.  
  248. ;Quote Mode only
  249.  
  250. TransferQ         f2
  251.  
  252.  
  253. :FUNC_END
  254.  
  255.  
  256.  
  257.                                   Macros
  258.                                   ======
  259.  
  260. Macros are defined in this section. Each macro definition begins with a
  261. line in the following form:
  262.  
  263. macrodef <mode> <name> <key>
  264.  
  265. <mode> controls whether the macro is to be invoked from Edit Mode, Quote Mode,
  266.        or both modes.  The entry should be "E", "Q", or "B".  (Note however
  267.        that macros, once invoked, may go back and forth between modes.)
  268.  
  269. <name> is the name you assign to this macro. It should begin with a capital
  270.        letter and contain no spaces.
  271.  
  272. <key>  is the keyname which will invoke this macro. The format is the same as
  273.        used above in Function/Keyname Assignments.  If <key> is "startkey",
  274.        the macro will be executed automatically when EZQuote boots.
  275.  
  276.  
  277. The second and subsequent lines of the definition specify the keystroke 
  278. sequence which the macro will invoke. You may include in the sequence any
  279. combination of literals, function names, other macro names, and keynames.
  280. Literal strings should be enclosed in single or double quotes. Function names
  281. and macro names should begin with a capital letter.  Each literal string
  282. and each name should be followed by at least one space, or end a line.
  283.  
  284. Here's an example of a macro definition:
  285.  
  286. macrodef Q Getimport ^f3
  287. Load home home "import.txt" enter
  288.  
  289. This example defines the macro "Getimport" which would be invoked by hitting
  290. Ctrl-F3 while in Quote Mode. It Loads the file IMPORT.TXT.
  291.  
  292. Notice that when a macro calls a function requiring entry of a filename or
  293. search text, you should include the "home" key before the new string so that
  294. any previous entry will be erased. Otherwise you will append the new entry
  295. to the old. For the Load command, "home" must be entered twice - the extra
  296. one answers the "load more" option if the previous Load was oversized.
  297.  
  298. Macros invoking Save may routinely include an <A>ppend or <O>verwrite
  299. selection after filename entry. The selection will be ignored if the file
  300. does not already exist.  See the Spell macro below for an example.
  301.  
  302. Subject to overall memory constraints, there is no limit to the
  303. number of macros you may define, or the length of any one macro.
  304.  
  305.  
  306. Embedding:
  307.  
  308. Macros may call other macros so long as they are not embedded more than ten
  309. levels deep.  But if such a call is the last item in a macro's sequence, that
  310. call is treated as a simple jump rather than an embedded call.  So a macro
  311. which ends by calling itself will generally run forever rather than fill up
  312. the 10-level macro stack.  Such a loop can be useful if it includes the Search
  313. function, which will abort the current macro if no match is found. 
  314.  
  315.  
  316. Phantoms:
  317.  
  318. Three of the normal EZQuote functions are toggles. Because a macro can't
  319. determine the current state of those toggles, three pre-defined phantom
  320. functions are provided for use in macros to set the toggles to a definite
  321. state. From there you can toggle to the other state if you need to.
  322.  
  323.                Phantom function         Related normal function
  324.  
  325.                  /Quotemode                    Modetog
  326.                  /Inserton                     Inserttog
  327.                  /Markon                       Marktog
  328.  
  329. The /Markon phantom function sets the Mark anchor to the current cursor
  330. position even if Mark was already toggled on.
  331.  
  332. There is also a phantom keyname "startkey" which is used to invoke a startup
  333. macro. If a macro is invoked by "startkey", that macro will be executed
  334. automatically when EZQuote boots.
  335.  
  336.  
  337. Default Macros:
  338.  
  339.  ^f1  Spell        Shell to spellchecker "ss" with contents of current window
  340.                    in the temp file "ezqspell", reload new contents of
  341.                    ezqspell upon return.
  342.  
  343.  ^f4  Dos          Shell to Dos, type 'EXIT' to return.
  344.  
  345.  ^f5  Delend       Deletes from the cursor to the end of text (no undo).
  346.  
  347.  ^f8  Expandtabs   Converts all of the tab characters after the cursor to the
  348.                    correct number of spaces.
  349.  
  350.  ^f9  Searchagain  Finds the next match for a previously-entered Search string.
  351.  
  352.  ^f10 Printblock   Print the marked block. (You may need to change this macro
  353.                    if your printer requires a driver.)
  354.  
  355. You may add to or delete these macros or modify them as you wish.
  356.  
  357.  
  358.  
  359. ****************************************************************************
  360.  
  361. :MACROS
  362.  
  363. macrodef B Spell ^f1
  364. Begfile /Markon Endfile Save home "ezqspell" enter "o"
  365. Dcmd home "ss ezqspell" enter
  366. Begfile Delend Load home home "ezqspell" enter
  367.  
  368. macrodef B Dos ^f4
  369. Dcmd home enter
  370.  
  371. macrodef B Delend ^f5
  372. /Markon Endfile Delblock
  373.  
  374. macrodef B Expandtabs ^f8
  375. /Inserton Left Search home tab enter Delchar tab Expandtabs
  376.  
  377. macrodef B Searchagain ^f9
  378. Search enter
  379.  
  380. macrodef B Printblock ^f10
  381. Save home "prn" enter "o"
  382.  
  383. :MACROS_END
  384.  
  385. ****************************************************************************
  386.  
  387.  
  388.  
  389.  
  390.                             Bottom Line Prompts
  391.                             ===================
  392.  
  393. If you change the default function/keyname assignments, or define macros,
  394. you may also want to change the bottom line prompts.  Each mode has its own
  395. set of prompts, with each set having four versions - for Normal, Shift,
  396. Control and Alt.
  397.  
  398. Below each prompt line is its corresponding format line. A prompt character
  399. which has a corresponding non-space format character will be displayed by
  400. EZQuote with inverse attributes - the same as used for a marked block of text.
  401.  
  402.  
  403. ----------------- Max length is 68 characters ----------------------
  404.  
  405.  
  406. :EDITNORMAL
  407. 1Abort 2Refmt 3Wrap 4Mark 5Cut  6Paste 7Exit 8Del EOL 9Del L 10Undel
  408.  ~~~~~  ~~~~~  ~~~~  ~~~~  ~~~~  ~~~~~  ~~~~  ~~~~~~~  ~~~~~   ~~~~~
  409.  
  410.  
  411. :EDITSHIFT
  412. 1      2     3      4     5     6      7     8        9      10     
  413.  ~~~~~  ~~~~  ~~~~~  ~~~~  ~~~~  ~~~~~  ~~~~  ~~~~~~~  ~~~~~   ~~~~~
  414.  
  415.  
  416. :EDITCONTROL
  417. 1Spell 2Soft 3Rmarg 4Dos  5DelE 6Sign  7     8ExpTabs 9Srch> 10PrtB 
  418.  ~~~~~  ~~~~  ~~~~~  ~~~~  ~~~~  ~~~~~  ~~~~  ~~~~~~~  ~~~~~   ~~~~~
  419.  
  420.  
  421. :EDITALT
  422. 1Save  2Quote 3UnWrp 4Dcmd 5DelB 6Dir  7Load 8Reload 9Search 10Help 
  423.  ~~~~~  ~~~~~  ~~~~~  ~~~~  ~~~~  ~~~~  ~~~~  ~~~~~~  ~~~~~~   ~~~~~
  424.  
  425.  
  426.  
  427.  
  428.  
  429. :QUOTENORMAL
  430. 1Abort 2Xfer  3Wrap 4Mark 5Cut 6Paste 7Exit 8Del EOL 9Del L  10Undel
  431.  ~~~~~  ~~~~~  ~~~~  ~~~~  ~~~  ~~~~~  ~~~~  ~~~~~~~  ~~~~~~   ~~~~~
  432.  
  433.  
  434. :QUOTESHIFT
  435. 1      2      3     4     5    6      7     8        9       10     
  436.  ~~~~~  ~~~~~  ~~~~  ~~~~  ~~~  ~~~~~  ~~~~  ~~~~~~~  ~~~~~~   ~~~~~
  437.  
  438.  
  439. :QUOTECONTROL
  440. 1Spell 2      3     4Dos  5DelE 6     7     8ExpTabs 9Srch>  10PrtB 
  441.  ~~~~~  ~~~~~  ~~~~  ~~~~  ~~~~  ~~~~  ~~~~  ~~~~~~~  ~~~~~~   ~~~~~
  442.  
  443.  
  444. :QUOTEALT
  445. 1Save  2Quote 3UnWrp 4Dcmd 5DelB 6Dir 7Load 8Reload  9Search 10Help 
  446.  ~~~~~  ~~~~~  ~~~~~  ~~~~  ~~~~  ~~~  ~~~~  ~~~~~~~  ~~~~~~   ~~~~~
  447.  
  448.  
  449.  
  450.  
  451.                                Help Screens
  452.                                ============
  453.  
  454. You can change these as you like. EZQuote will display each of the Help
  455. screens just as a text file would be displayed, but will recognize only
  456. selected cursor movements: Up, Down, Pageup, Pagedown, Begfile, Endfile. 
  457. Hitting any other key will abort the Help display.
  458.  
  459.  
  460. :EDITHELP
  461. Edit Mode Functions:
  462.  
  463. <Esc> Go to Quote Mode.
  464.  
  465. F1  ABORT without saving.          Alt F1  SAVE marked block to disk.
  466. F2 *REFMT Reformat to end of par.  Alt F2  QUOTE Add " > " to marked block.
  467. F3  WRAP WonderWrap marked block.  Alt F3  UNWRP Undo last WRAP or QUOTE.
  468. F4  MARK mode toggle.              Alt F4  DCMD Shell to Dos, do command.
  469. F5  CUT and save marked block.     Alt F5  DELB Delete marked block. No undo.
  470. F6  PASTE cut block at cursor.     Alt F6  DIR Show directory, LOAD file.
  471. F7  EXIT after saving to file.     Alt F7  LOAD file from disk.
  472. F8  DEL EOL Delete to End-Of-Line  Alt F8  RELOAD original file.
  473. F9  DEL L Delete Line at cursor.   Alt F9  SEARCH for string.
  474. F10 UNDEL Undelete Line or EOL.    Alt F10 HELP This HELP screen.
  475.  
  476. Ctl F2 *SOFT Convert block to softCRs.
  477. Ctl F3 *RMARG Change right margin.
  478. Ctl F6 *SIGN Insert signature at cursor.
  479.  
  480.   * Edit Mode only
  481.  
  482. Macros available in Edit Mode:
  483.  
  484. Ctl F1  SPELL Shell to spell checker.
  485. Ctl F4  DOS Shell to Dos. 'EXIT' to return.
  486. Ctl F5  DELE Delete to end. No undo.
  487. Ctl F8  EXPTABS Expand tabs.
  488. Ctl F9  SRCH> Search again for string.
  489. Ctl F10 PRTB Print marked block.
  490.  
  491. Left mouse button, both Modes:
  492.  
  493.   press and hold down left button to Mark block.
  494.   to unmark block, hold down left, click right
  495.  
  496. Right mouse button:
  497.  
  498.  Quote Mode - 
  499.   click once to Wrap block, again to Xfer.
  500.   if no marked block, go to Edit Mode.
  501.  
  502.  Edit Mode -
  503.   Cut block (Bootmode = Q)
  504.   Wrap block (Bootmode = E) 
  505.   if no marked block, go to Quote Mode.
  506. :EHELP_END
  507.  
  508.  
  509.  
  510.  
  511. :QUOTEHELP
  512. Quote Mode Functions:
  513.  
  514. <Esc> Go to Edit Mode.
  515.  
  516. F1  ABORT without saving.          Alt F1  SAVE marked block to disk.
  517. F2 *XFER marked block to EMode.    Alt F2  QUOTE Add " > " to marked block.
  518. F3  WRAP WonderWrap marked block.  Alt F3  UNWRP Undo last WRAP or QUOTE.
  519. F4  MARK mode toggle.              Alt F4  DCMD Shell to Dos, do command.
  520. F5  CUT and save marked block.     Alt F5  DELB Delete marked block. No undo.
  521. F6  PASTE cut block at cursor.     Alt F6  DIR Show directory, LOAD file.
  522. F7  EXIT after saving to file.     Alt F7  LOAD file from disk.
  523. F8  DEL EOL Delete to End-Of-Line  Alt F8  RELOAD original file.
  524. F9  DEL L Delete Line at cursor.   Alt F9  SEARCH for string.
  525. F10 UNDEL Undelete Line or EOL.    Alt F10 HELP This HELP screen.
  526.  
  527.   * Quote Mode only.
  528.  
  529. Macros available in Quote Mode:
  530.  
  531. Ctl F1  SPELL Shell to spell checker.
  532. Ctl F4  DOS Shell to Dos. 'EXIT' to return.
  533. Ctl F5  DELE Delete to end. No undo.
  534. Ctl F8  EXPTABS Expand tabs.
  535. Ctl F9  SRCH> Search again for string.
  536. Ctl F10 PRTB Print marked block.
  537.  
  538. Left mouse button, both Modes:
  539.  
  540.   press and hold down left button to Mark block.
  541.   to unmark block, hold down left, click right
  542.  
  543. Right mouse button:
  544.  
  545.  Quote Mode - 
  546.   click once to Wrap block, again to Xfer.
  547.   if no marked block, go to Edit Mode.
  548.  
  549.  Edit Mode -
  550.   Cut block (Bootmode = Q)
  551.   Wrap block (Bootmode = E) 
  552.   if no marked block, go to Quote Mode.
  553. :QHELP_END
  554.